<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Model;

class Purview extends Model
{
    protected $table = 'purview'; //表
    protected $fillable = ['status', 'parent','pid','title','func','url','f_main','icon','lft'];
    //成功
    const STATUS_SUCCESS = 1;
    //失败
    const STATUS_FAILED = 0;

    public static $status_names = array(self::STATUS_SUCCESS => "正常", self::STATUS_FAILED => "屏蔽");
}
